How to sort your records in alphabetical order.
customRanking
parameter with the attribute you want to sort on. If you are sorting alphabetically on a non-replica index, the method is the same as for a standard replica.
custom
as the index’s first ranking
criterion.
relevancyStrictness
to 0
. You must also set the replica’s custom ranking with the attributes you’d like to sort on.